﻿/*
 * @file: OnlineFloralDeliveryException.cs
 * @description: Custom Exception
 */
using System;

/// <summary>
/// Summary description for OnlineFloralDeliveryException
/// </summary>
public class OnlineFloralDeliveryException : Exception
{
    public int ExceptionCode { get; set; }
    /*
     *1. Record existed
     *2. Null of empty
     *3. Require length 
     *4. Error occurred when encrypt
     */

    /// <summary>
    /// Custom exception
    /// </summary>
    /// <param name="ExceptionCode">exception code</param>
    /// <param name="Message">Exception message</param>
    public OnlineFloralDeliveryException(int ExceptionCode, String Message)
        : base(Message)
	{
        this.ExceptionCode = ExceptionCode;	
	}
}
